package com.yf1706.dao.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.yf1706.bean.SocialSecuritySob;
/**
 * 
 * @author 锦涛
 *
 */
public interface SocialSecuritySobJDAO extends JpaRepository<SocialSecuritySob, Integer> {

	@Query("SELECT s from SocialSecuritySob s where s.socialSecuritySobName like %?1%")
	Page<SocialSecuritySob> findSearch (String query, Pageable pageable);
}
